
const logs = require('log4js');
// const log4js_conf = require('./logConf.json');
logs.configure({
  appenders: { cheese: { type: 'file', filename: './log_file/cheese1.log' } },
  categories: { default: { appenders: ['cheese'], level: 'all' } }
});

console.log('log start!');


const logger = logs.getLogger('cheese');

// logger.trace('enter test');
// logger.debug('got');
// logger.info('welcome');
// logger.error('error');

// console.log('end');

module.exports = {
	logger
}